<%@ page import="com.erpanderp.pr.model.entity.AccountAssignment" %>



<div class="fieldcontain ${hasErrors(bean: accountAssignmentInstance, field: 'glAccount', 'error')} ">
	<label for="glAccount">
		<g:message code="accountAssignment.glAccount.label" default="Gl Account" />
		
	</label>
	<g:textField name="glAccount" maxlength="10" value="${accountAssignmentInstance?.glAccount}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountAssignmentInstance, field: 'costCenter', 'error')} ">
	<label for="costCenter">
		<g:message code="accountAssignment.costCenter.label" default="Cost Center" />
		
	</label>
	<g:textField name="costCenter" maxlength="10" value="${accountAssignmentInstance?.costCenter}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountAssignmentInstance, field: 'orderDetail', 'error')} ">
	<label for="orderDetail">
		<g:message code="accountAssignment.orderDetail.label" default="Order Detail" />
		
	</label>
	<g:textField name="orderDetail" maxlength="10" value="${accountAssignmentInstance?.orderDetail}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountAssignmentInstance, field: 'network', 'error')} ">
	<label for="network">
		<g:message code="accountAssignment.network.label" default="Network" />
		
	</label>
	<g:textField name="network" maxlength="12" value="${accountAssignmentInstance?.network}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountAssignmentInstance, field: 'createdBy', 'error')} ">
	<label for="createdBy">
		<g:message code="accountAssignment.createdBy.label" default="Created By" />
		
	</label>
	<g:textArea name="createdBy" cols="40" rows="5" maxlength="255" value="${accountAssignmentInstance?.createdBy}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountAssignmentInstance, field: 'lastUpdatedBy', 'error')} ">
	<label for="lastUpdatedBy">
		<g:message code="accountAssignment.lastUpdatedBy.label" default="Last Updated By" />
		
	</label>
	<g:textArea name="lastUpdatedBy" cols="40" rows="5" maxlength="255" value="${accountAssignmentInstance?.lastUpdatedBy}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountAssignmentInstance, field: 'purchaseRequestItem', 'error')} required">
	<label for="purchaseRequestItem">
		<g:message code="accountAssignment.purchaseRequestItem.label" default="Purchase Request Item" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="purchaseRequestItem" name="purchaseRequestItem.id" from="${com.erpanderp.pr.model.entity.PurchaseRequestItem.list()}" optionKey="id" required="" value="${accountAssignmentInstance?.purchaseRequestItem?.id}" class="many-to-one"/>
</div>

